<?php session_start();
include('includes/connect.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $_SESSION['fname'].'&nbsp;'.$_SESSION['lname']; ?> - Hoonur.com</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<div id="wrapper">
<?php 
$title="Myhome";
include("header.php"); 
if(isset($_SESSION['user_id'])) {
	if(isset($_REQUEST['confirmed']) && $_REQUEST['confirmed']='Y')
	{
?>
<div id="notify">
	<div><img src="images/notify.gif" /> &nbsp; Email confirmed</div><br />
</div>
<?php }
?>
<div id="title1">
	<?php echo $_SESSION['fname'].'&nbsp;'.$_SESSION['lname']; ?>
</div>
<div id="profilecontent">
	<div class="profileftcontent">
    	<div class="leftprofile">
        	<div id="ProfilePic">		
                                       
            </div>
            <div>Edit Photo</div>
            <div>
            	<p class="subtitle">Popularity Meter</p><br />
            	stars
            </div>
            <div>
            	<p class="subtitle">I Follow - 1</p><br />
            
            </div>            
            <div>
            	<p class="subtitle">My Followers - 0</p><br />
            </div>
            <div>
            	<p class="subtitle">Friends - 1</p>
            </div>
            <div>
            	<p class="subtitle">Friend Requests - 0</p>
            </div>
    	</div>
        <div class="rightprofile">
        	<div>
                <div>
                    <p class="subtitle">My Updates</p>
                </div>
                <div class="port">
                    <p class="subtitle">My Portfolios and Jobs</p><br />
                    <a>No Title</a><br />
                    <a>you contacted</a> |  <a>view</a>  |  <a>edit</a>  |  <a>delete</a>
                </div>
            </div>
            <div class="portlink">            	
                <a href="#">Create portfolio</a>  |  <a>Post new job</a>  |  <a>Add new business</a>                
            </div>
            <div>
            	<a>All</a>  |  <a>My feeds</a>  |  <a>Celebrity feeds</a>  |  <a>Friend feeds</a>
            </div>
    	</div>
    </div>
    <div class="profilerightcontent">
    	<p class="subtitle">My Messages</p><br />
        <table width="100%" border="0">
        	<tr>
            	<td width="150px"><a>Messages</a></td>
                <td><a>Friend Requests</a></td>
            </tr>
            <tr>
            	<td><a>Jobs</a></td>
                <td><a>Portfolio</a></td>
            </tr>
            <tr>
            	<td><a>Business</a></td>
                <td><a>Recommendations</a></td>
            </tr>
        </table>
        <br /><br />
        <div>
    	<img src="images/imgad.gif" />
    	</div><br />
        <div>
        	<p class="subtitle">People who joined in</p>
        </div>
        <div>
        	<p class="subtitle">Design your page</p>
        </div>
        <div>
        	<p class="subtitle">Your current public URL</p><br />
            <?php $sql=mysql_query('select * from users where user_id=7'); 
				$row=mysql_fetch_array($sql);
				$profile_id=substr($row['profile_code'],0,15);
				echo 'http://www.hoonur.com/'.$profile_id;
			?>
        </div>
        <div>
        	<p class="subtitle">Your social profiles</p>
        </div>
        <div>
        	<p class="subtitle">Pending Recommendations - 0</p>
        </div>
    </div>    
</div>
<div style="clear:both;"></div>    
<div id="add">
	<img src="images/addsense.jpg" />
</div>
    
<?php include("footer.php"); }
else{
	header("Location:login.php");
}?>
</div>
</body>
</html>
